package io.renren.modules.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.JsonResult;
import io.renren.common.utils.R;
import io.renren.common.utils.StatusCode;
import io.renren.modules.app.dao.ReportBankaccDao;
import io.renren.modules.app.dao.UserDao;
import io.renren.modules.app.entity.UserEntity;
import io.renren.modules.app.service.AppBankzjWebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("bankzjWebService")
public class AppBankzjWebServiceImpl extends ServiceImpl<UserDao, UserEntity> implements AppBankzjWebService {
    @Autowired
    private ReportBankaccDao reportBankaccDao;

    @Override
    public R rebankzj(String pkorg, String begindate, String enddate) {
        Map<String, Object> list = reportBankaccDao.reportBankzjWebService( pkorg, begindate , enddate);

        return  R.ok().put("data", list);

    }
}
